import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel } from '../model/baseModel';

const { adminPath } = useGlobSetting();

export interface BaseApiReq extends BasicModel<BaseApiReq> {
 
}

export interface BadeApiResult extends BasicModel<BadeApiResult> {

}

export const getTableColumns = (params?: BaseApiReq | any, data?: any) =>{
  
  return defHttp.post<BadeApiResult>({ url: adminPath+'/selfstock/getTableColumns', params, data });

}